package com.hdoit.ares.logical.insu.service;

import java.util.List;

import com.hdoit.ares.logical.insu.model.FanhuaAccident;
import com.hdoit.ares.logical.tp.zzb.model.AccidentCallback;
import com.hdoit.ares.logical.viewmodel.insu.FanhuaAccidentSearch;
import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.message.PagerModel;

/**
 * @author caochengmeng
 * @email
 * @createtime 2017年12月10日 23:03:32
 * @comment
 */
public interface IFanhuaAccidentService extends ISuperService<FanhuaAccident> {

	// 查询所有意外险保单
	public List<FanhuaAccident> queryAllAccidentInsurance(String customerId);

	// 查询意外险已失效保单
	public List<FanhuaAccident> queryNoAccidentInsurance(String customerId);

	// 查询意外险保障中保单
	public List<FanhuaAccident> queryYesAccidentInsurance(String customerId);

	// 查询意外险待生效保单
	public List<FanhuaAccident> queryReadyAccidentInsurance(String customerId);
	
	// 查询该用户意外险失效保单
	public List<FanhuaAccident> queryFailAccidentInsurance(String customerId);
	
	public List<FanhuaAccident> queryList(FanhuaAccidentSearch fanhuaAccident,PagerModel pagerModel);
	
	public String accidentCallback(AccidentCallback accidentCallback);
	//后台保单显示
	public FanhuaAccident queryModelByPolicyNo(String policyNo);
}
